import { get } from '@/util/request'
export function getHomeData(tpl?: number) {
    return get<Array<Layout>>('/home/layout', { tpl })
}
export function getRecentHotSearch() {
    return get<Array<string>>('/home/recentHotSearch')
}

export function getUserInfo() {
    return get<Array<string>>('/home/getUserInfo')
}
export function getHomeTopic() {
    return get<Array<Topic>>('/home/topic')
}
